package com.cn.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.cn.domain.ProductEntity;

@Mapper
public interface ProductMapper {
	
	public int insertProductEntity(ProductEntity product);
	
	public List<ProductEntity> findProductEntityByWhere(ProductEntity product);
	
    public int updateProductEntity(ProductEntity product);
    
    public ProductEntity queryProductForUpdate(ProductEntity product);
}
